import { CrossGuildWarChooseBase } from "./base/CrossGuildWarChooseBase";
import { ImagesConst } from "../../../resource/ImagesConst";
import { DataProvider } from "../../../../../fl/data/DataProvider";
import { ObjCreate } from "../../common/ObjCreate";
import { CrossGuildWarChooseGroupRender } from "../render/CrossGuildWarChooseGroupRender";
import { GTileList } from "../../../../../com/mui/controls/GTileList";
//class CrossGuildWarChooseGroupSubWin
    
    export  class CrossGuildWarChooseGroupSubWin extends CrossGuildWarChooseBase
    {
        constructor()
        {
            super(ImagesConst.CrossGuildWar_OpBy);
            _bmpOpBy.x = 139;
            return;
        }

        public /* override */ dispose(arg1: Boolean=true): void
        {
            super.dispose(arg1);
            return;
        }

        public updateData(arg1: DataProvider): void
        {
            this._list.dataProvider = arg1;
            this._list.drawNow();
            return;
        }

        protected /* override */ createDisposedChildrenImpl(): void
        {
            super.createDisposedChildrenImpl();
            this._list = ObjCreate.createTileList(32, 220, 770, 240, this);
            this._list.verticalGap = 25;
            this._list.horizontalGap = 25;
            this._list.rowHeight = 105;
            this._list.columnWidth = 106;
            this._list.setStyle("cellRenderer", CrossGuildWarChooseGroupRender);
            return;
        }

        /* internal */ /* var */_list: GTileList;
    }
